package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.helper.PageHelper;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @version v1.0
 * @description: 未接来电记录入参
 * @date 2019/2/19 17:32
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class CallMissedCallListDTO extends BaseDTO {

    private static final Integer DEFAULT_OPERATE_LOG_PAGE_SIZE = PageHelper.PAGE_SIZE;

    /**
     * 话务中心平台，参考CallCenterTypeEnum
     */
    @NotNull(message = "{dto.msg.callCallLogList.moduleType.NotNull}")
    private Integer moduleType;

    /**
     * 分页当前页
     */
    private Integer page;

    /**
     * 分页每页记录数
     */
    private Integer pageSize;

    public CallMissedCallListDTO() {
        page = 1;
        pageSize = DEFAULT_OPERATE_LOG_PAGE_SIZE;
    }
}
